package com.example.spring.demo.controller.swagger;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author liangchao03
 * 2019/4/28
 */
@Controller
public class SwaggerController {
    @RequestMapping(value = "/", method = RequestMethod.GET)
    public String swaggerUI() {
        return "redirect:/swagger-ui.html";
    }
}
